www.gusucode.com > 红色大方的企业网站源码 1 > 红色大方的企业网站源码 1.0/qiye_red/HrDemand.asp
<!--#include file="Inc/SysProduct.asp" --> <% set rs=server.createobject("adodb.recordset") sql="select * from HrDemand order by id desc" rs.open sql,conn,1,1 dim MaPerPage MaPerPage=4 dim text,checkpage text="0123456789" Rs.PageSize=MaPerPage for i=1 to len(request("page")) checkpage=instr(1,text,mid(request("page"),i,1)) if checkpage=0 then exit for end if next If checkpage<>0 then If NOT IsEmpty(request("page")) Then CurrentPage=Cint(request("page")) If CurrentPage < 1 Then CurrentPage = 1 If CurrentPage > Rs.PageCount Then CurrentPage = Rs.PageCount Else CurrentPage= 1 End If If not Rs.eof Then Rs.AbsolutePage = CurrentPage end if Else CurrentPage=1 End if %> <!-- #include file="Head.asp"--> <table width="1000" height="579" border="0" align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <td width="265" height="563" valign="top" background="imgbsy/l1.jpg"><table cellspacing="0" cellpadding="0" width="265" border="0"> <tbody> <tr> <td><img height="34" src="imgbsy/gg.jpg" width="265" /></td> </tr> <tr> <td valign="top" width="265" background="imgbsy/gg11.jpg" height="114"><table width="245" border="0"> <tbody> <tr> <td width="10"> </td> <td width="225"><marquee onmouseover="this.stop()" style="FONT-SIZE: 9pt; COLOR: #000000" onmouseout="this.start()" scrollamount="1" scrolldelay="50" direction="up" width="210" height="90"> <table bordercolor="#ffffff" cellspacing="0" cellpadding="0" width="210" align="center" border="0"> <tbody> <% set rs_news=server.createobject("adodb.recordset") sqltext4="select top 1 * from Affiche order by id desc" rs_news.open sqltext4,conn,1,1 %> <%i=0 do while not rs_news.eof%> <tr> <td valign="top"> <span class="px12"> 本站公告: <a href='#' onclick="javascript:window.open('Affiche.asp?ID=<%=rs_news("id")%>', 'newwindow', 'height=450, width=400, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')" title='<%=cutstr(rs_news("title"),15)%>'><font color='#FF0000'><%=cutstr(rs_news("title"),15)%></font></a> </td> </tr> <%rs_news.movenext i=i+1 if i=6 then exit do loop rs_news.close %> </tbody> </table> </marquee></td> </tr> </tbody> </table></td> </tr> <tr> <td><img height="30" src="imgbsy/about1.gif" width="265" /></td> </tr> <tr> <td><img height="9" src="imgbsy/fbjx1_07.jpg" width="265" /></td> </tr> <tr> <td valign="top" background="imgbsy/fbjx1_08.jpg" height="150"><table width="245" border="0"> <tbody> <% Set rslist = Server.CreateObject("ADODB.Recordset") sql="select Title from Aboutus where Language='1' and Aboutusorder <100 order by Aboutusorder" rslist.open sql,conn,1,3 do while not rslist.eof %> <tr> <td width="49" height="25"><div align="right"><img height="4" src="imgbsy/d1.gif" width="4" /></div></td> <td class="px12-5" width="186"> <a href="Aboutus.asp?Title=<%=rslist("Title")%>" class="px12-5"><%=rslist("Title")%></a> </td> </tr> <tr> <td colspan="2" align="right"><table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="1" bgcolor="#EBEBEB"></td> </tr> </table> </td> </tr> <%rslist.movenext loop rslist.close set rslist=nothing %> </tbody> </table></td> </tr> <tr> <td><img height="9" src="imgbsy/fbjx1_10.jpg" width="265" /></td> </tr> <tr> <td><img height="37" src="imgbsy/con1.gif" width="265" /></td> </tr> <tr> <td valign="top" width="265" background="imgbsy/tu1.jpg" height="180" style="padding-top:5px;"> <!--#include file="qq.asp" --> </td> </tr> </tbody> </table></td> <td valign="top" background="imgbsy/fbjx1_04.jpg" ><table cellspacing="0" cellpadding="0" width="735" border="0"> <tbody> <tr> <td width="735" height="38" background="imgbsy/title.gif"><table width="735" height="38" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="173" class="about1">招聘岗位</td> <td width="388"> </td> <td width="174" class="about2"> 首页 >> 人才中心</td> </tr> </table></td> </tr> <tr> <td valign="top" background="imgbsy/fbjx1_04.jpg" bgcolor="#FFFFFF"><table cellspacing="0" cellpadding="0" width="700" align="center"> <tbody> <tr> <td class="px12" valign="top" style=" padding-top:20px; padding-left:10px; padding-right:15px; line-height:25px;"><table width="95%" height="1%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="206" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <% if not rs.eof then i=0 do while not rs.eof %> <tr> <td height="1"><br /> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" > <tr bgcolor="#DFDFDF"> <td width="174" height="30" align="center" bgcolor="#FFFFFF" >职位名称:</td> <td colspan="2" bgcolor="#FFFFFF" > <%=rs("HrName")%> </td> <td width="238" bgcolor="#FFFFFF" > <a href="HrDemandAccept.asp?Quarters=<%=rs("HrName")%>"><font color="#FF0000">应聘此岗位</font></a> </td> </tr> <tr bgcolor="#DFDFDF"> <td width="174" height="30" align="center" bgcolor="#FFFFFF" >工作地点:</td> <td colspan="3" valign="top" bgcolor="#FFFFFF" > <%=rs("HrAddress")%> </td> </tr> <tr bgcolor="#DFDFDF"> <td width="174" height="30" align="center" bgcolor="#FFFFFF" >工资待遇:</td> <td width="198" bgcolor="#FFFFFF"> <%=rs("HrSalary")%></td> <td width="101" align="center" bgcolor="#FFFFFF" >发布日期:</td> <td bgcolor="#FFFFFF" > <%=rs("HrDate")%> </td> </tr> <tr bgcolor="#DFDFDF"> <td height="30" align="center" bgcolor="#FFFFFF" >需求人数:</td> <td align="center" bgcolor="#FFFFFF"><div align="left"> <%=rs("HrRequireNum")%> 人</div></td> <td align="center" bgcolor="#FFFFFF">有效期限:</td> <td align="center" bgcolor="#FFFFFF"><div align="left"> <%=rs("HrValidDate")%></div></td> </tr> <tr bgcolor="#DFDFDF"> <td width="174" height="30" align="center" bgcolor="#FFFFFF" ><font color="#000066">具体要求:</font></td> <td colspan="3" align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="5" cellspacing="0" > <tr> <td class="News-05"><%=rs("HrDetail")%></td> </tr> </table></td> </tr> </table></td> </tr> <% i=i+1 if i >= MaPerpage then exit do rs.movenext loop end if %> </table></td> </tr> <tr> <td height="40" align="center"> <% Response.write "全部" Response.write "共" & Cstr(Rs.RecordCount) & "条招聘信息 " Response.write "第" & Cstr(CurrentPage) & "/" & Cstr(rs.pagecount) & " " If currentpage > 1 Then response.write "<a href='HrDemand.asp?&page="+cstr(1)+"'> 首页 </a>" Response.write "<a href='HrDemand.asp?page="+Cstr(currentpage-1)+"'> 上一页 </a>" Else Response.write " 上一页 " End if If currentpage < Rs.PageCount Then Response.write "<a href='HrDemand.asp?page="+Cstr(currentPage+1)+"'> 下一页 </a>" Response.write "<a href='HrDemand.asp?page="+Cstr(Rs.PageCount)+"'> 尾页 </a>" Else Response.write "" Response.write " 下一页 " End if Response.write "转到第" response.write"<select name='sel_page' onChange='javascript:location=this.options[this.selectedIndex].value;'>" for i = 1 to Rs.PageCount if i = currentpage then response.write"<option value='HrDemand.asp?page="&i&"&id="&id&"' selected>"&i&"</option>" else response.write"<option value='HrDemand.asp?page="&i&"&id="&id&"'>"&i&"</option>" end if next response.write"</select>页" rs.close %> </td> </tr> </table></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> <tr valign="top"> <td background="imgbsy/m1.jpg" colspan="2"></td> </tr> <tr valign="top"> <td colspan="2" background="imgbsy/m1.jpg" bgcolor="#FFFFFF"></td> </tr> <tr valign="top"> <td colspan="2" height="16"><img height="16" src="imgbsy/b1.jpg" width="1000" /></td> </tr> </tbody> </table> <% rs.close set rs=nothing %> <!--#include file="foot.asp" -->